import service from './service';

export const getHomeList = (params) => service({ url: '/topics', method: 'get', params })

export const getDetail = (id) => service({ url: '/topic/' + id, method: 'get' })

export const getUserInfo = (id) => service({ url: '/user/' + id, method: 'get' })
